package cn.ex.ymcc.feign;

import cn.ex.ymcc.result.JSONResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @Author: ZeWangmu
 * @Date: 2022/08/16/14:55
 * @Description:
 */
@FeignClient(value = "service-system",fallbackFactory = cn.ex.ymcc.feign.fallback.SysDicFeignClientFallback.class)
public interface SysDicFeignClient {
    @RequestMapping(value="/search",method= RequestMethod.GET)
    JSONResult findSysDic();

}
